package com.wk1un2.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_sign")
public class Sign {
	@TableId
	private Integer signid;
	@TableField("userid")
	private Integer userid;
	@TableField("signstate")
	private Integer signstate;
	
	@TableField("signtime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date signtime;
	
	@TableField("signouttime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date signouttime;
	
	@TableField("weight")
	private Integer weight;
	@TableField("message")
	private String message;
	@TableField(exist = false)
	private String username;
}
